[INFO] cloning repository https://github.com/PocketRelay/PocketArkHooks
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PocketRelay/PocketArkHooks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPocketRelay%2FPocketArkHooks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPocketRelay%2FPocketArkHooks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 00e31263b3004b8585589766ffbe431d8737d059
[INFO] fixing PocketRelay/PocketArkHooks against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPocketRelay%2FPocketArkHooks" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/PocketRelay/PocketArkHooks
[INFO] finished tweaking git repo https://github.com/PocketRelay/PocketArkHooks
[INFO] tweaked toml for git repo https://github.com/PocketRelay/PocketArkHooks written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/PocketRelay/PocketArkHooks on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/PocketRelay/PocketArkHooks already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 57a4b0c52a0760a14dd3a191cc6a54ca5218363cf4556bb6c7639f906a81bee4
[INFO] running `Command { std: "docker" "start" "57a4b0c52a0760a14dd3a191cc6a54ca5218363cf4556bb6c7639f906a81bee4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57a4b0c52a0760a14dd3a191cc6a54ca5218363cf4556bb6c7639f906a81bee4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57a4b0c52a0760a14dd3a191cc6a54ca5218363cf4556bb6c7639f906a81bee4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57a4b0c52a0760a14dd3a191cc6a54ca5218363cf4556bb6c7639f906a81bee4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.48.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling widestring v1.0.2
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking windows-targets v0.48.1
[INFO] [stderr]     Checking windows-sys v0.48.0
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling chrono v0.4.26
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling md-5 v0.9.1
[INFO] [stderr]    Compiling pkbuffer_derive v0.1.0
[INFO] [stderr]    Compiling pkbuffer v0.4.2
[INFO] [stderr]    Compiling exe v0.5.6
[INFO] [stderr]    Compiling pocket-ark-hooks v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 33 |             if let Some(handle) = proxy::PROXY_HANDLE.take() {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/proxy.rs (2 fixes)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/proxy.rs:26:46
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for (symbol, addr) in symbols.iter().zip(ADDR_TABLE.iter_mut()) {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/lib.rs (2 fixes)
[INFO] [stderr]        Fixed src/pattern.rs (5 fixes)
[INFO] [stderr]        Fixed src/hooks.rs (4 fixes)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 33 |             if let Some(handle) = proxy::PROXY_HANDLE.take() {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/proxy.rs:26:46
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for (symbol, addr) in symbols.iter().zip(ADDR_TABLE.iter_mut()) {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.75s
[INFO] [stderr] crater-edition-check: pocket-ark-hooks v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling pocket-ark-hooks v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]  --> src/proxy.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[no_mangle]
[INFO] [stdout]   |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]   |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[unsafe(no_mangle)]
[INFO] [stdout]   |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]  --> src/proxy.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[no_mangle]
[INFO] [stdout]   |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]   |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[unsafe(no_mangle)]
[INFO] [stdout]   |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `windows_sys::Win32::System::LibraryLoader::LoadLibraryA` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/proxy.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let handle = LoadLibraryA("AnselSDK64.bak\0".as_ptr());
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/proxy.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub unsafe fn init() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/proxy.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     PROXY_HANDLE = Some(handle);
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/proxy.rs:26:46
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for (symbol, addr) in symbols.iter().zip(ADDR_TABLE.iter_mut()) {
[INFO] [stdout]    |                                              ^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `windows_sys::Win32::System::LibraryLoader::GetProcAddress` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/proxy.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |         *addr = GetProcAddress(handle, symbol.as_ptr()).expect("Missing function") as *const ();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern "system" fn DllMain(dll_module: usize, call_reason: u32, _: *mut ()) -> bool { unsafe {
[INFO] [stdout]    |                                                                                              ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 26 |             unsafe { hooks::hook() };
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `windows_sys::Win32::System::LibraryLoader::LoadLibraryA` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/proxy.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let handle = LoadLibraryA("AnselSDK64.bak\0".as_ptr());
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/proxy.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub unsafe fn init() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/proxy.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     PROXY_HANDLE = Some(handle);
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/proxy.rs:26:46
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for (symbol, addr) in symbols.iter().zip(ADDR_TABLE.iter_mut()) {
[INFO] [stdout]    |                                              ^^^^^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `windows_sys::Win32::System::LibraryLoader::GetProcAddress` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/proxy.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |         *addr = GetProcAddress(handle, symbol.as_ptr()).expect("Missing function") as *const ();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | unsafe extern "system" fn DllMain(dll_module: usize, call_reason: u32, _: *mut ()) -> bool { unsafe {
[INFO] [stdout]    |                                                                                              ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 26 |             unsafe { hooks::hook() };
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pocket-ark-hooks` (lib test) due to 1 previous error; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `pocket-ark-hooks` (lib) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "57a4b0c52a0760a14dd3a191cc6a54ca5218363cf4556bb6c7639f906a81bee4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57a4b0c52a0760a14dd3a191cc6a54ca5218363cf4556bb6c7639f906a81bee4", kill_on_drop: false }`
[INFO] [stdout] 57a4b0c52a0760a14dd3a191cc6a54ca5218363cf4556bb6c7639f906a81bee4
